﻿using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace RayDen.Library.Entity.Frames {

    public interface IFrameEntity {
        
    }
    [Serializable]
    [DataContract]
    public abstract class FrameElement : IFrameElement {
        [XmlIgnore]
        protected Guid Id;

        protected FrameElement() {
            Id = Guid.NewGuid();
        }

        #region IFrameElement Members

        public Guid ElementID {
            get { return this.Id; }
        }

        public FrameElement ParentElement { get; set; }

        public FrameDescription Owner { get; set; }

        #endregion
    }
}
